package bavaria.hightech.comparator;

import java.util.Comparator;
import bavaria.hightech.banking.Transaction;

public class ValueComp implements Comparator <Transaction> {

	@Override
	public int compare(Transaction arg0, Transaction arg1) {

		return (new Long(arg0.getMoney().getValue()).compareTo(new Long(arg1.getMoney().getValue())));
	}
}